#pragma once


// DlgSysNewAdjustment dialog

#include "DlgAdjustmentHistogram.h"

class DlgSysBadPixelNewAdjustment : public CDialog
{
	DECLARE_DYNAMIC(DlgSysBadPixelNewAdjustment)

public:
	DlgSysBadPixelNewAdjustment(CWnd* pParent = NULL);   // standard constructor
	virtual ~DlgSysBadPixelNewAdjustment();

// Dialog Data
	enum { IDD = IDD_SYSTEM_NEWBADPIXEL_ADJUSTMENT };

public:
	DlgAdjustmentHistogram *m_pDlgAdjustHis;

private:
	int m_nStep;
	void ShowText(int nStep);

	int  ExcuteOne();
	int  ExcuteTwo();
	int  ExcuteSave();

	void MyOK();

	void EnableParam(BOOL bEnable);

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedButLast();
	afx_msg void OnBnClickedButNext();
	afx_msg void OnBnClickedCancel();
	
};
